RegExMatch.SubExpressionCount

Read-Only
Number of SubExpressions that are available with the search just performed. REALbasic's Regular Expressions support both \number and $number syntax for SubExpressions.
SubExpressions allow replacement of parts of the pattern.

Syntax

SubExpressionCount as Integer

Notes

Returns an Integer.